package br.com.j7.jdesk.persistence.listener;

import javax.persistence.PrePersist;

import br.com.j7.jdesk.library.exception.ListenerException;
import br.com.j7.jdesk.persistence.entity.ServicesTypes;

public class ServiceTypeListener {

	public ServiceTypeListener() {
	}
	
	@PrePersist
	public void addedServiceType(ServicesTypes serviceType) throws ListenerException{
//		String action = "Added service tipo:"+serviceType.getCdServiceType();
//		try {
//			new LogRepositoryImpl().addLog(action);
//		} catch (RepositoryException e) {
//			throw new ListenerException(e);
//		}
	}
}
